These are special feedback objects.
Remember, that to getting a result from these special objects
you have to attach them as a Label of a text object. However, the text object
with CBK label can be hidden, and then you can use it only as a
dummy object to getting the result for string/integer
variables in your scripts.
Audio:
CBK_Total
If any text object has this Label then the total time from MP3 file or CD track will be displayed here. Make sure you create the text object with enough space around it to accommodate the number format XX::XX. Otherwise, you have to uncheck "Fixed Width" text option.
CBK_TotalSec
Returns the song's total time in seconds. MMB4.9
CBK_Time
Displays the current time of playing MP3/OGG file or CD track.
CBK_TimeSec
Returns the current time of playing song in seconds MMB4.9
CBK_MP3Type
The type of current MP3 file (MPEG 1 Layer
3)
CBK_MP3Bit
BitRate of current MP3 (128kbs)
CBK_MP3Freq
Frequency of current MP3 (44.1kHz)
CBK_MP3Name
File Name of current MP3
CBK_Channels
Returns the songs channel (mono, stereo).
CBK_ID3Song
Returns the ID3 name of playing song.
CBK_ID3Artist
Returns the ID3 artist name of playing song.
CBK_ID3Album
Returns the ID3 album name of playing song.
CBK_ID3Year
Returns the ID3 year of playing song.
CBK_ID3Genre
Returns the ID3 genre of playing song.
CBK_Volume MMB4.9
Returns the current level of volume.
CBK_NumTracks MMB4.9
Returns the total number of CD tracks.
Video: MMB4.9.5
CBK_VName
File Name of current Video (audio) file.
CBK_VTotal
Returns the Video (audio) total time.
CBK_VTotalSec
Returns the Video (audio) total time in seconds.
CBK_VTime
Returns the current time of playing video (audio) file.
CBK_VTimeSec
Returns the current time of playing video (audio) in seconds.
CBK_VTotalFrames
Returns the number of frames of playing video file. If returns '0', video doesn't support frames.
CBK_VFrame
Returns the current frame of playing video file (only if CBK_VTotalFrames is any non-zero value)
Audio CD (some of them are common with Audio CBK):
CBK_Total
If any text object has this Label then the total time from MP3 file or CD track will be displayed here. Make sure you create the text object with enough space around it to accommodate the number format XX::XX. Otherwise, you have to uncheck "Fixed Width" text option.
CBK_TotalSec
Returns the song's total time in seconds. MMB4.9
CBK_Time
Displays the current time of playing MP3/OGG file or CD track.
CBK_TimeSec
Returns the current time of playing song in seconds MMB4.9
CBK_MP3Name
File Name of current MP3
CBK_NumTracks
Returns number of CD tracks.
Audio List:
CBK_CurItemList
Currently selected item from the MP3 list. (See mp3Tags.mbd sample)
CBK_NumInList
Number of items in the internal song list <List>
CBK_TotalList MMB4.9.5
Total time of all items in the internal song list <List>
CBK_TotalListSec MMB4.9.5
Total time (in seconds) of all items in the internal song list <List>
TIME/DATE: MMB4.9.5
CBK_TimeHMS
The current time in H:M:S AM/PM format.
CBK_Time24
The current time in 24-hour format
CBK_Hour
The current hour (an integer from 0 to 23)
CBK_Minute
The current minute (an integer from 0 to 59)
CBK_Second
The current second (an integer from 0 to 59)
CBK_Year
The current year (2003)
CBK_Month
The current month in text form (October).
CBK_MonthNum
The current month in number form (1 for January, 2 for February, and so on).
CBK_Day
The current day of the week in text form (Tuesday).
CBK_DayNum
The current day (1 for Sunday, 2 for Monday, and so on)
CBK_DateNum
The current date (an integer from 1 to 31)
CBK_DateShort
The current date in WindowsÆ short format (03/04/03).
CBK_DateLong
The current date in WindowsÆ long format (March 04, 2003).
OTHERS:
CBK_PageName
Returns name of currently opened page.
CBK_Error
Returns the information and error messages from FMOD audio library and Video object (DirectShow). For detailed list of return values look here.
CBK_Volume
Returns current level of system Volume.
CBK_URLpath
Returns the path from HTML object.
CBK_OpenFile
Returns the file name (without the path) string from the file selected in OpenFile dialog.
CBK_OpenDir
Returns the path (without the file name) string from the file selected in OpenFile dialog.
OBJECT TYPES OF CBK VARIABLES:
CBK_MP3EOF
If any script on the current or Master Top layer page has the label CBK_MP3EOF, the script will be executed when the current playing MP3 song ends up.
If there is no such script with this label on current page, MMB will look into Master Top Layer, if even there is no such script, the song will just end and that's all.
There could be anything in the CBK_MP3EOF script - you can put there NextPage and the MMB will go to the next page when mp3 file reach its end, you can Show some picture, you can open another MP3 songà
CBK_Menu
Use this to create a Menu group you want to hide if the user clicks away from the group (See masterpages.mbd sample).
Instead of using hotspots around the menu, make the label of the group starting with CBK_Menu.
Whenever the user clicks on the screen, all objects starting with CBK_Menu will be hidden, except the menu under the cursor.
CBK_EXIT
Use this to catch the Close button on the title bar or the Escape key.
Note: The object or group MUST be in the Master Top layer.
Whenever the user press Escape or click on the Close button, the CBK_EXIT object will be shown and/or the script (if any) on the MouseUp of the CBK_EXIT will be launched.